﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<Cs2102BookingSystem.Models.BOOKING>" %>

<%  DateTime aWeek = System.DateTime.Now.AddDays(7);
    if (Model.STARTDATE > aWeek) { %>
    
     <%: Html.ActionLink("Delete", "../Booking/DeleteReservation", new { id = Model.BOOKINGID })%> |
    
<%    }  %>

